package com.senlingspace.system.domain;

import com.senlingspace.common.core.domain.BaseEntity;

/**
 * 拉卡拉支付信息;
 *
 * @author lebronjames
 * @date 2024/07/26
 */
public class SlkjOrderLakal extends BaseEntity {
    /**
     * 主键
     */
    private Long id;

    /**
     * 订单表 ID
     */
    private Long orderId;

    /**
     * 商户号
     */
    private String merchantNo;

    /**
     * 请求报文中的商户交易流水号
     */
    private String outTradeNo;

    /**
     * 拉卡拉交易流水号
     */
    private String tradeNo;

    /**
     * 拉卡拉对账单流水号
     */
    private String logNo;

    /**
     * 钱包类型
     */
    private String accountType;

    /**
     * 账户端交易流水号
     */
    private String accTradeNo;

    /**
     * 订单金额;订单金额=付款人实际发生金额+商户优惠金额+账户端优惠金额（分）
     */
    private String totalAmount;

    /**
     * 付款人实际发生金额;（分）
     */
    private String payerAmount;

    /**
     * 账户端应结订单金额;账户端应结订单金额=付款人实际发生金额+账户端优惠金额（分）
     */
    private String accSettleAmount;

    /**
     * 商户优惠金额（账户端）
     */
    private String accMdiscountAmount;

    /**
     * 账户端优惠金额
     */
    private String accDiscountAmount;

    /**
     * 账户端其它优惠金额
     */
    private String accOtherDiscountAmount;

    /**
     * 交易完成时间
     * <p>
     * 格式：yyyyMMddHHmmss
     */
    private String tradeTime;

    /**
     * 付款银行
     */
    private String bankType;

    /**
     * 银行卡类型
     */
    private String cardType;

    /**
     * 账户端返回信息域
     * <p>
     * JSON
     */
    private String accRespFields;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getOrderId() {
        return orderId;
    }

    public void setOrderId(Long orderId) {
        this.orderId = orderId;
    }

    public String getMerchantNo() {
        return merchantNo;
    }

    public void setMerchantNo(String merchantNo) {
        this.merchantNo = merchantNo;
    }

    public String getOutTradeNo() {
        return outTradeNo;
    }

    public void setOutTradeNo(String outTradeNo) {
        this.outTradeNo = outTradeNo;
    }

    public String getTradeNo() {
        return tradeNo;
    }

    public void setTradeNo(String tradeNo) {
        this.tradeNo = tradeNo;
    }

    public String getLogNo() {
        return logNo;
    }

    public void setLogNo(String logNo) {
        this.logNo = logNo;
    }

    public String getAccountType() {
        return accountType;
    }

    public void setAccountType(String accountType) {
        this.accountType = accountType;
    }

    public String getAccTradeNo() {
        return accTradeNo;
    }

    public void setAccTradeNo(String accTradeNo) {
        this.accTradeNo = accTradeNo;
    }

    public String getTotalAmount() {
        return totalAmount;
    }

    public void setTotalAmount(String totalAmount) {
        this.totalAmount = totalAmount;
    }

    public String getPayerAmount() {
        return payerAmount;
    }

    public void setPayerAmount(String payerAmount) {
        this.payerAmount = payerAmount;
    }

    public String getAccSettleAmount() {
        return accSettleAmount;
    }

    public void setAccSettleAmount(String accSettleAmount) {
        this.accSettleAmount = accSettleAmount;
    }

    public String getAccMdiscountAmount() {
        return accMdiscountAmount;
    }

    public void setAccMdiscountAmount(String accMdiscountAmount) {
        this.accMdiscountAmount = accMdiscountAmount;
    }

    public String getAccDiscountAmount() {
        return accDiscountAmount;
    }

    public void setAccDiscountAmount(String accDiscountAmount) {
        this.accDiscountAmount = accDiscountAmount;
    }

    public String getAccOtherDiscountAmount() {
        return accOtherDiscountAmount;
    }

    public void setAccOtherDiscountAmount(String accOtherDiscountAmount) {
        this.accOtherDiscountAmount = accOtherDiscountAmount;
    }

    public String getTradeTime() {
        return tradeTime;
    }

    public void setTradeTime(String tradeTime) {
        this.tradeTime = tradeTime;
    }

    public String getBankType() {
        return bankType;
    }

    public void setBankType(String bankType) {
        this.bankType = bankType;
    }

    public String getCardType() {
        return cardType;
    }

    public void setCardType(String cardType) {
        this.cardType = cardType;
    }

    public String getAccRespFields() {
        return accRespFields;
    }

    public void setAccRespFields(String accRespFields) {
        this.accRespFields = accRespFields;
    }

    @Override
    public String toString() {
        return "SlkjOrderLakal{" +
                "id=" + id +
                ", orderId=" + orderId +
                ", merchantNo='" + merchantNo + '\'' +
                ", outTradeNo='" + outTradeNo + '\'' +
                ", tradeNo='" + tradeNo + '\'' +
                ", logNo='" + logNo + '\'' +
                ", accountType='" + accountType + '\'' +
                ", accTradeNo='" + accTradeNo + '\'' +
                ", totalAmount='" + totalAmount + '\'' +
                ", payerAmount='" + payerAmount + '\'' +
                ", accSettleAmount='" + accSettleAmount + '\'' +
                ", accMdiscountAmount='" + accMdiscountAmount + '\'' +
                ", accDiscountAmount='" + accDiscountAmount + '\'' +
                ", accOtherDiscountAmount='" + accOtherDiscountAmount + '\'' +
                ", tradeTime='" + tradeTime + '\'' +
                ", bankType='" + bankType + '\'' +
                ", cardType='" + cardType + '\'' +
                ", accRespFields='" + accRespFields + '\'' +
                '}';
    }

}